[PATCH] Correctly handle signed 32-bit time_t types
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=
1124541
Forwarded: no
dovecot handles 32-bit time_t in a couple of different ways, but neither quite
works currently. Setting TIME_T_MAX_BITS to 31 isn't correctly handled in
places where time_t values are constructed, for example in
io_loop_get_wait_time().
Similarly, setting TIME_T_MAX_BITS = 32 and defining TIME_T_SIGNED is not
correctly handled by tm_is_too_large().
This change fixes tm_is_too_large() to set max_time to the correct maximum date
representable by a signed 32-bit time_t.
Closes: #1124541
Gbp-Pq: Name Correctly_handle_signed_32-bit_time_t_types.patch
dovecot (1:2.4.3+dfsg1-2) unstable; urgency=medium
* [
2e35d07] autopkgtests: Add managesieved authentication test
* [
226112b] Remove generated settings-history-pigeonhole.h on clean
* [
dd36c64] ci: replace obsolete build-package-twice test
* [
d6da850] use an alternate temporary directory in the test suite
(Closes: #
1133346)
* [
80afe14] ci: disable the validate-package-clean-up check
* [
c9e076a] drop stale lintian overrides
[dgit import unpatched dovecot 1:2.4.3+dfsg1-2]